package com.hdc.lw.word_server.po;

public class Word {
    private Integer id;
    private String word;
    private String pronounce;
    private String description;
    private String speech;
    private boolean iscollect;

    public Word() {
    }

    public Word(Integer id, String word, String pronounce, String description, String speech,boolean iscollect) {
        this.id = id;
        this.word = word;
        this.pronounce = pronounce;
        this.description = description;
        this.speech = speech;
        this.iscollect = iscollect;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getPronounce() {
        return pronounce;
    }

    public void setPronounce(String pronounce) {
        this.pronounce = pronounce;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSpeech() {
        return speech;
    }

    public void setSpeech(String speech) {
        this.speech = speech;
    }

    public boolean isIscollect() {
        return iscollect;
    }

    public void setIscollect(boolean iscollect) {
        this.iscollect = iscollect;
    }

    @Override
    public String toString() {
        return "Word{" +
                "id=" + id +
                ", word='" + word + '\'' +
                ", pronounce='" + pronounce + '\'' +
                ", description='" + description + '\'' +
                ", speech='" + speech + '\'' +
                ", iscollect=" + iscollect +
                '}';
    }
}
